﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace xiaoxiong.KYJControllersLib
{
    public partial class Title : UserControl
    {
        public Title()
        {
            InitializeComponent();
        }

        private string titleName = "实时报警";

        [Browsable(true)]
        [Category("自定义事件")]
        [Description("设置获取标题名称")]
        public string TitleName
        {   
            get { return titleName; }
            set { titleName = value;
                this.lbl_Title.Text = TitleName;
            }
        }

    }
}
